/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.sys.entity.job;

import com.thinkgem.jeesite.modules.hk.sys.entity.user.HkUser;
import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 用户简历Entity
 * @author 罗天文
 * @version 2018-06-15
 */
public class HkUserResumeEducational extends DataEntity<HkUserResumeEducational> {
	
	private static final long serialVersionUID = 1L;
	private HkUser user;		// 用户id
	private HkUserResume resume;		// 用户简历id 父类
	private String graduate;		// 毕业学校
	private String major;		// 专业
	private String enrolmentTime;
	private String graduationtime;		// 毕业时间
	private String education;		// 学历

	public String getEnrolmentTime() {
		return enrolmentTime;
	}

	public void setEnrolmentTime(String enrolmentTime) {
		this.enrolmentTime = enrolmentTime;
	}

	public HkUserResumeEducational() {
		super();
	}

	public HkUserResumeEducational(String id){
		super(id);
	}

	public HkUserResumeEducational(HkUserResume resume){
		this.resume = resume;
	}

	public HkUser getUser() {
		return user;
	}

	public void setUser(HkUser user) {
		this.user = user;
	}
	
	@Length(min=0, max=32, message="用户简历id长度必须介于 0 和 32 之间")
	public HkUserResume getResume() {
		return resume;
	}

	public void setResume(HkUserResume resume) {
		this.resume = resume;
	}
	
	@Length(min=0, max=200, message="毕业学校长度必须介于 0 和 200 之间")
	public String getGraduate() {
		return graduate;
	}

	public void setGraduate(String graduate) {
		this.graduate = graduate;
	}
	
	@Length(min=0, max=200, message="专业长度必须介于 0 和 200 之间")
	public String getMajor() {
		return major;
	}

	public void setMajor(String major) {
		this.major = major;
	}
	
	public String getGraduationtime() {
		return graduationtime;
	}

	public void setGraduationtime(String graduationtime) {
		this.graduationtime = graduationtime;
	}
	
	@Length(min=0, max=100, message="学历长度必须介于 0 和 100 之间")
	public String getEducation() {
		return education;
	}

	public void setEducation(String education) {
		this.education = education;
	}
	
}